package com.authine.cloudpivot.web.api.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 读取项目相关配置
 *
 */
@Component
@ConfigurationProperties(prefix = "hxconfig")
public class HxConfig
{
    /** qad请求路径 */
    private String qadurl;

    /** qad请求头 */
    private String qadurlheader;

    /** qad回传路径 */
    private String qadhcurl;

    /** qad token */
    private String token;

    /** qad xdomain */
    private String xdomain;

    private String orcurl;

    private String orcjyurl;

    private String appkey;

    private String appsecret;

    private String cropimage;

    /** nc 请求获取数据路径 */
    private String ncurl;

    /** nc 发送xml路径 */
    private String ncxmlurl;

    /** qad mdm路径 */
    private String qadmdmurl;


    public String getNcurl() {
        return ncurl;
    }

    public void setNcurl(String ncurl) {
        this.ncurl = ncurl;
    }

    public String getQadurl() {
        return qadurl;
    }

    public void setQadurl(String qadurl) {
        this.qadurl = qadurl;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getXdomain() {
        return xdomain;
    }

    public void setXdomain(String xdomain) {
        this.xdomain = xdomain;
    }

    public String getOrcurl() {
        return orcurl;
    }

    public void setOrcurl(String orcurl) {
        this.orcurl = orcurl;
    }

    public String getAppkey() {
        return appkey;
    }

    public void setAppkey(String appkey) {
        this.appkey = appkey;
    }

    public String getAppsecret() {
        return appsecret;
    }

    public void setAppsecret(String appsecret) {
        this.appsecret = appsecret;
    }

    public String getCropimage() {
        return cropimage;
    }

    public void setCropimage(String cropimage) {
        this.cropimage = cropimage;
    }

    public String getQadurlheader() {
        return qadurlheader;
    }

    public void setQadurlheader(String qadurlheader) {
        this.qadurlheader = qadurlheader;
    }

    public String getQadhcurl() {
        return qadhcurl;
    }

    public void setQadhcurl(String qadhcurl) {
        this.qadhcurl = qadhcurl;
    }

    public String getQadmdmurl() {
        return qadmdmurl;
    }

    public void setQadmdmurl(String qadmdmurl) {
        this.qadmdmurl = qadmdmurl;
    }

    public String getOrcjyurl() {
        return orcjyurl;
    }

    public void setOrcjyurl(String orcjyurl) {
        this.orcjyurl = orcjyurl;
    }

    public String getNcxmlurl() {
        return ncxmlurl;
    }

    public void setNcxmlurl(String ncxmlurl) {
        this.ncxmlurl = ncxmlurl;
    }
}